package com.ruoyi.recycle.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "attract_record")

public class AttractRecord implements Serializable {
    private static final long serialVersionUID = -2514088211508345584L;
    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "拉新总数")
    private int attractCount;

    @ApiModelProperty(value = "门店ID")
    @TableField(whereStrategy = FieldStrategy.NOT_NULL)
    private Long shopId;

    @ApiModelProperty(value = "门店名称")
    @TableField(whereStrategy = FieldStrategy.NOT_EMPTY)
    private String shopName;

    @ApiModelProperty(value = "门店类型")
    @TableField(whereStrategy = FieldStrategy.NOT_EMPTY)
    private String shopCategory;

    @ApiModelProperty(value = "达人姓名")
    @TableField(whereStrategy = FieldStrategy.NOT_EMPTY)
    private String clientName;

    @ApiModelProperty(value = "业务员名称")
    @TableField(whereStrategy = FieldStrategy.NOT_EMPTY)
    private String salesmanName;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "综合站ID")
    @TableField(whereStrategy = FieldStrategy.NOT_NULL)
    private Long merchantId;

    @ApiModelProperty(value = "业务员ID")
    @TableField(whereStrategy = FieldStrategy.NOT_EMPTY)
    private Long salesmanId;

    @ApiModelProperty(value = "达人ID")
    @TableField(whereStrategy = FieldStrategy.NOT_EMPTY)
    private Long clientId;
}
